package com.bainaeco.framework.util;

public class SystemCodeStatus {
	
	public static final int SUCCESS = 200;
	
	// internal server error
	public static final int FAILED = 500;
	
	// Input parameter error
	public static final int INVALID_ARGUMENT = 400;
	
	public static final int NULL_POINTER = 401;
	
	// >=400 用來表示請求出現問題.
	// page not found
	public static final int PAGE_NOT_FOUND = 404;
	
	// Forbidden
	public static final int FORBIDDEN = 403;
	
	public static final int REQUEST_TIMEOUT = 408;
	
	// Invalid user session
	public static final int INVALID_USER_SESSION = 410;
	// Invalid access token
	public static final int INVALID_ACCESS_TOKEN = 411;

	// >=500 用來表示伺服器出現問題.
	public static final int JSON_ERROR = 550;
	
	public static final int FILTER_ERROR = 551;
	
	public static final int CONTROLLER_ERROR = 552;
	
	public static final int HANDLER_ERROR = 553;
	
	public static final int SERVICE_ERROR = 554;
	
	public static final int DAO_ERROR = 555;
	
	public static final int FILE_UPLOAD_ERROR = 556;
	
	public static final int INVALID_SIGN = 557;
	
	public static final int LOG_AUDIT_ERROR = 558;
}
